//
//  PPInterfacedConst.m
//  PPNetworkHelper
//
//  Created by 谭亚明 on 2017/7/6.
//  Copyright © 2017年 AndyPang. All rights reserved.
//

#import "PPInterfacedConst.h"

#if DevelopSever
/** 接口前缀-开发服务器*/
NSString *const kApiPrefix = @"";
#elif TestSever
/** 接口前缀-测试服务器*/
NSString *const kApiPrefix = @"http://118.178.224.151:4020";
#elif ProductSever
/** 接口前缀-生产服务器*/
NSString *const kApiPrefix = @"";
#endif

//******************** 用户模块 ************************************************** /

/** 忘记密码*/
NSString *const urlPasswordupdate = @"/password-update+POST";

/** 登录*/
NSString *const urlLogin = @"/login+POST";

/** 注册*/
NSString *const urlRegister = @"/user/register+POST";


/*获取验证码*/
NSString *const urlValidationcode = @"/sms/validation-code+GET";

/*修改密码*/
NSString *const urlUpdatepwd = @"/user/update-pwd+POST";

/*验证验证码*/
NSString *const urlVerificationcode = @"/sms/validation-code+POST";

/*修改用户信息*/
NSString *const urlUpdateuser = @"/user/update-user+POST";

/*修改用户手机号*/
NSString *const urlUpdateusermobil = @"/user/update-user-mobile+POST";

/*退出登录*/
NSString *const urlLogout = @"/logout+POST";

/*获取用户*/
NSString *const urlFinduser = @"/user/find-user+GET";

/*无参获取用户*/
NSString *const urlGetuser = @"/user/get-user+GET";


//******************** 家庭模块 ************************************************** /

//用户申请模块


//----------------------家庭用户模块-----
/*创建家庭*/
NSString *const urlCreatefamily = @"/family-info/create-family";

/*修改家庭信息*/
NSString *const urlUpdatefamily = @"/family-info/update-family";

/*获取家庭所有设备*/
NSString *const urlFindfamilyequipmenty = @"/family-info/find-family-equipment";

/*获得家庭的用户申请信息*/
NSString *const urlFamilyuserfindapply = @"/family-user/find-family-applys";

/* 查找家庭*/
NSString *const urlFamilyFindfamilys = @"/family-info/find-familys";

/*获取用户当前默认家庭*/
NSString *const urlCurrentfamily = @"/family-user/user-current-family";

/* 获取用户家庭列表*/
NSString *const urlFindfamilys= @"/family-user/find-familys";


/*获取用户家庭信息*/
NSString *const urlFindfamily = @"/family-user/find-family";

/*根据familyId获取家庭详情*/
NSString *const urlInfofindfamily = @"/family-info/find-family";

/*切换/进入家庭*/
NSString *const urlSwitchoverfamily = @"/family-user/switchover-family";

/*退出家庭*/
NSString *const urlExitfamily = @"/family-user/exit-family";

/*是否记住业务密码*/
NSString *const urlRememberoppwd = @"/user/remember-op-pwd";

/*设置业务密码*/
NSString *const urlOperationpwd = @"/user/update-operation-pwd";


